package com.tanhua.dubbo.api.mongo;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tanhua.domain.vo.PageResult;
import com.tanhua.domain.vo.SoundTimeVo;
import com.tanhua.domain.vo.SoundVo;
import org.springframework.data.domain.PageRequest;

public interface SoundApi {
    void saveSound(Long userId, String path);

    SoundVo getSound(long userId);

    void updateSoundTime();

    PageResult getSoundTimeList(int page, int pagesize, String id);

    void updateSoundTimeAd(String id);

    void updateSoundTimeTime(String id, String time);

    void updateSoundTimeAdOntime(String userId, int ad);
}
